package com.diablo.commonsite.controller;

import com.diablo.commonsite.dao.ArticleMapper;
import com.diablo.commonsite.entity.Article;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by diablo13064 on 2018/6/5.
 */
@Controller
public class TestController {
    @Autowired
    ArticleMapper articleMapper;
    @RequestMapping("/")
    public String indexController() {
        return "redirect:/blog/index";
    }
    @RequestMapping("/test")
    public String testController() {
        return "";
    }
}
